<!-- オフ会修正 -->
<?php echo CHtml::beginForm(); ?>
<?php echo CHtml::errorSummary($offkai); ?>
<?php include('tablebegin.html'); ?>
          <tr>
            <td class="graytop"><?php echo CHtml::activeLabel($offkai,'meishou'); ?></td>
            <td class="box"><?php echo CHtml::activeTextField($offkai,'meishou', array('class'=>'inputtext')); ?></td>
          </tr>
          <tr>
	    <td class="gray"><?php echo CHtml::activeLabel($offkai,'offkaicode'); ?></td>
            <td class="text"><?php echo $offkai->offkaicode; ?></td>
          </tr>
          <tr>
	    <td class="gray"><?php echo CHtml::activeLabel($offkai,'kanji'); ?></td>
	    <td class="box"><?php echo CHtml::activeTextField($offkai,'kanji', array('class'=>'inputtext')); ?></td>
          </tr>
          <tr>
            <td class="gray"><?php echo CHtml::activeLabel($offkai,'kaisaibi'); ?></td>
            <td class="box"><?php  $this->widget('zii.widgets.jui.CJuiDatePicker',
						 array(
						       'name'=>'Offkai[kaisaibi]',
						       // 'language'=>'ja',
						       'value'=>$offkai->kaisaibi,
						       // additional javascript options for the date picker plugin
						       'options'=>array(
									'dateFormat'=>'yy-mm-dd',
									),
						       'htmlOptions'=>array('class'=>'inputtext',
									    ),
						       )
						 ); ?></td>
          </tr>
          <tr>
            <td class="gray"><?php echo CHtml::activeLabel($offkai,'basho'); ?></td>
            <td class="box"><?php echo CHtml::activeTextArea($offkai,'basho',array('rows'=>5, 'cols'=>50, 'class'=>'inputtext')); ?></td>
          </tr>
          <tr>
            <td class="gray"><?php echo CHtml::activeLabel($offkai,'gaiyou'); ?></td>
            <td class="box"><?php echo CHtml::activeTextArea($offkai,'gaiyou',array('rows'=>10, 'cols'=>50, 'class'=>'inputtext')); ?></td>
          </tr>
          <tr>
	    <td class="gray"><?php echo CHtml::activeLabel($offkai,'joutai'); ?></td>
	    <td class="box"><?php echo CHtml::dropdownList('Offkai[joutai]', $offkai->joutai,
							   array(
								 '未だ開始していません'=>'未だ開始していません',
								 '受付中です'=>'受付中です',
								 '定員になりました'=>'定員になりました',
								 '終了しました'=>'終了しました',
								 )
							   ); ?></td>
          </tr>
          <tr>
	    <td class="gray"><?php echo CHtml::activeLabel($offkai,'password'); ?></td>
	    <td class="box"><?php echo CHtml::activePasswordField($offkai,'password',array('class'=>'inputtext')); ?></td>
            </td>
          </tr>
          <tr>
            <td class="graytop"><?php echo CHtml::activeLabel($offkai,'authimage'); ?></td>
            <td class="box"><?php $this->widget('CCaptcha',
						array('clickableImage'=>true, 'showRefreshButton'=>false)); ?></td>
          </tr>
          <tr>
            <td class="gray"><?php echo CHtml::activeLabel($offkai,'authcode'); ?></td>
	    <td class="box"><?php echo CHtml::activeTextField($offkai,'authcode',array('class'=>'inputtext',
										       'id'=>'captcha-input')); ?></td>
          </tr>
<?php include('tableend.html'); ?>

<div class="action">
<?php echo CHtml::submitButton('修正'); ?>
</div>
<?php echo CHtml::endForm(); ?>

<span class="text">
  <?php echo CHtml::link('戻る', Yii::app()->createUrl('offkai/menu')); ?>
</span>

<!-- $Id: edit.php 7 2009-12-25 10:46:08Z mocapapa@g.pugpug.org $ -->
